/*
 * Created on 2005-8-18
 *
 */
package com.yl.cap.analyst.util.mail;

/**
 * @author ZhangQi
 *
 */
public class MailInfo
{
    private boolean needAuth;
    private String charset;
    /**
     * @return Returns the charset.
     */
    public String getCharset()
    {
        return charset;
    }
    /**
     * @param charset The charset to set.
     */
    public void setCharset(String charset)
    {
        this.charset = charset;
    }
    private String subject;
    private String from;
    private String to;
    private String body;
    private String smtpHost;
    private String smtpName;
    private String smtpPass;
    /**
     * @return Returns the to.
     */
    public String getTo()
    {
        return to;
    }
    /**
     * @param to The to to set.
     */
    public void setTo(String to)
    {
        this.to = to;
    }
    /**
     * @return Returns the body.
     */
    public String getBody()
    {
        return body;
    }
    /**
     * @param body The body to set.
     */
    public void setBody(String body)
    {
        this.body = body;
    }
    /**
     * @return Returns the from.
     */
    public String getFrom()
    {
        return from;
    }
    /**
     * @param from The from to set.
     */
    public void setFrom(String from)
    {
        this.from = from;
    }
    /**
     * @return Returns the needAuth.
     */
    public boolean isNeedAuth()
    {
        return needAuth;
    }
    /**
     * @param needAuth The needAuth to set.
     */
    public void setNeedAuth(boolean needAuth)
    {
        this.needAuth = needAuth;
    }
    /**
     * @return Returns the smtpHost.
     */
    public String getSmtpHost()
    {
        return smtpHost;
    }
    /**
     * @param smtpHost The smtpHost to set.
     */
    public void setSmtpHost(String smtpHost)
    {
        this.smtpHost = smtpHost;
    }
    /**
     * @return Returns the smtpName.
     */
    public String getSmtpName()
    {
        return smtpName;
    }
    /**
     * @param smtpName The smtpName to set.
     */
    public void setSmtpName(String smtpName)
    {
        this.smtpName = smtpName;
    }
    /**
     * @return Returns the smtpPass.
     */
    public String getSmtpPass()
    {
        return smtpPass;
    }
    /**
     * @param smtpPass The smtpPass to set.
     */
    public void setSmtpPass(String smtpPass)
    {
        this.smtpPass = smtpPass;
    }
    /**
     * @return Returns the subject.
     */
    public String getSubject()
    {
        return subject;
    }
    /**
     * @param subject The subject to set.
     */
    public void setSubject(String subject)
    {
        this.subject = subject;
    }  
}
